<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">

function ajax(){
	var xmlHttp = null;
	if(window.activeXObject){
		xmlHttp = new activeXObject("Microsoft.XMLHttp");
	}else{
		xmlHttp = new XMLHttpRequest();
	}
	xmlHttp.onreadystatechange = function(){
		if(xmlHttp.readyState==4){
			if(xmlHttp.status==200){
				alert(xmlHttp.responseText);
			}
		}
	}
	xmlHttp.open("GET", "s/AjaxTestServlet?name=123", true);
	xmlHttp.send(null);		

}



</script>
</head>
<body>
	${user.username}
	${user.email }
</body>
</html>